package com.learn.callback.level1;

import lombok.extern.slf4j.Slf4j;

/**
 * <p>项目名称: design-pattern </p>
 *
 * <p>文件名称: Student </p>
 */
@Slf4j
public class Student {

    public void homework(Teacher teacher){
        log.info("做家庭作业");
        teacher.callback();
    }
}
